Skip to content

Fix dev SSR data loading and preserve server route metadata#4

Draft
PatriciaJacob wants to merge 2 commits intomainfrom
codex/locate-ssr-implementation
Draft

Fix dev SSR data loading and preserve server route metadata#4
PatriciaJacob wants to merge 2 commits intomainfrom
codex/locate-ssr-implementation

Conversation

@PatriciaJacob
Copy link
Copy Markdown
Owner

Summary

  • await async SSR rendering in the dev server before injecting HTML
  • inject initial props during dev SSR so hydration uses the server-fetched data
  • preserve server-route metadata in the client build instead of stripping it entirely
  • keep getServerSideProps routes detectable at runtime for client-side navigation
  • update the lockfile to reflect dependency state in this branch

Testing

  • Not run (not requested)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant